<?php
	class Forn{
		protected $id;
		protected $razao;
		protected $cnpj;
		protected $fantasia;
		protected $tel;
		protected $email;
		protected $ativo;

		public function __construct ($id, $razao, $cnpj, $fantasia='', $tel='', $email='', $ativo=''){
			$this->id = $id;
			$this->razao = $razao;
			$this->cnpj = $cnpj;
			$this->fantasia = $fantasia;
			$this->tel = $tel;
			$this->email = $email;
			$this->ativo = $ativo;
		}

		public function setId($id){
			$this->id = $id;
		}

		public function getId(){
			return $this->id;
		}

		public function setRazao($razao){
			$this->razao = $razao;
		}

		public function getRazao(){
			return $this->razao;
		}

		public function setCnpj($cnpj){
			$this->cnpj = $cnpj;
		}

		public function getCnpj(){
			return $this->cnpj;
		}

		public function setFantasia($fantasia){
			$this->fantasia = $fantasia;
		}

		public function getFantasia(){
			return $this->fantasia;
		}

		public function setTel($tel){
			$this->tel = $tel;
		}

		public function getTel(){
			return $this->tel;
		}

		public function setEmail($email){
			$this->email = $email;
		}

		public function getEmail(){
			return $this->email;
		}

		public function setAtivo($ativo){
			$this->ativo = $ativo;
		}

		public function getAtivo(){
			return $this->ativo;
		}
	}
?>